package com.jiaz.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

import java.io.Serializable;

/**
 * @author jiajiazi
 * @version 1.0
 * @date 2022/4/24 16:04
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@EqualsAndHashCode(callSuper = false)
@TableName(value = "user_nyc")
public class User implements Serializable {
    private static final long serialVersionUID = 112423216L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;
    private Integer frequency;
    private String friends;

}
